import sys,time
import pandas as pd
from Predict_JTindexJob import Predict_JTindexJob

def main(index_name, df_X):

    y_pred = Predict_JTindexJob(p_index_name=index_name, p_df_X=df_X).execute()
    # timestamp = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
    return y_pred
if __name__ == '__main__':
    index_name = 'CRI'
    xlsx_name = 'D:/repos/sicost/12月新/新数据.xlsx'
    df_X = pd.read_excel(xlsx_name)
    y_pred = main(index_name, df_X)
    print(y_pred)
